package com.hyh.elasticsearch.annotation;

import com.hyh.elasticsearch.config.HyhElasticSearchAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启ElasticSearch注解
 *
 * @Author: heyuhua
 * @Date: 2021/1/29 9:28
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import({HyhElasticSearchAutoConfiguration.class})
public @interface EnableHyhElasticsearch {
}
